package me.sealer.model;

/**
 * Created by sealer on 10-31-2017.
 */
public class Location {
    private String country;//国家
    private String countryId;

    private String area;//地区 eg.华南
    private String areaId;

    private String region;//省份
    private String regionId;

    private String city;//市
    private String cityId;

    public Location(String country, String countryId, String area, String areaId, String region, String regionId, String city, String cityId) {
        this.country = country;
        this.countryId = countryId;
        this.area = area;
        this.areaId = areaId;
        this.region = region;
        this.regionId = regionId;
        this.city = city;
        this.cityId = cityId;
    }

    public Location() {
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getCountryId() {
        return countryId;
    }

    public void setCountryId(String countryId) {
        this.countryId = countryId;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getRegionId() {
        return regionId;
    }

    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    @Override
    public String toString() {
        return "Location{" +
                "country='" + country + '\'' +
                ", area='" + area + '\'' +
                ", region='" + region + '\'' +
                ", city='" + city + '\'' +
                '}';
    }
}
